package com.control.qct.businesssteward.model;

import java.util.List;

/**
 * Created by Administrator on 2017/12/3 0003.
 */

public class PaymentResultModel {


    /**
     * orderId : string
     * orderSn : string
     * memberId : string
     * payResults : [{"orderType":0,"isRefund":true,"amount":0,"payType":"CashPay","tradeNo":"string",
     * "cardNo":"string"}]
     */

    private String orderId;
    private String orderSn;
    private String memberId;
    private List<PayResultsBean> payResults;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public List<PayResultsBean> getPayResults() {
        return payResults;
    }

    public void setPayResults(List<PayResultsBean> payResults) {
        this.payResults = payResults;
    }

    public static class PayResultsBean {
        /**
         * orderType : 0
         * isRefund : true
         * amount : 0
         * payType : CashPay
         * tradeNo : string
         * cardNo : string
         */

        private int orderType;
        private boolean isRefund;
        private double amount;
        private int payType;
        private String tradeNo;
        private String cardNo;

        public PayResultsBean(int orderType, boolean isRefund, double amount, int payType, String tradeNo, String
                cardNo) {
            this.orderType = orderType;
            this.isRefund = isRefund;
            this.amount = amount;
            this.payType = payType;
            this.tradeNo = tradeNo;
            this.cardNo = cardNo;
        }

        public int getOrderType() {
            return orderType;
        }

        public void setOrderType(int orderType) {
            this.orderType = orderType;
        }

        public boolean isIsRefund() {
            return isRefund;
        }

        public void setIsRefund(boolean isRefund) {
            this.isRefund = isRefund;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public int getPayType() {
            return payType;
        }

        public void setPayType(int payType) {
            this.payType = payType;
        }

        public String getTradeNo() {
            return tradeNo;
        }

        public void setTradeNo(String tradeNo) {
            this.tradeNo = tradeNo;
        }

        public String getCardNo() {
            return cardNo;
        }

        public void setCardNo(String cardNo) {
            this.cardNo = cardNo;
        }
    }
}
